package com.ruoyi.ca.domain;

import com.alibaba.fastjson2.annotation.JSONField;
import com.fasterxml.jackson.databind.ser.std.ToStringSerializer;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 发票信息对象 ca_fpxx
 * 
 * @author ycong
 * @date 2024-04-13
 */
public class CaFpxx extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** $column.columnComment */
    @JSONField(serializeUsing = ToStringSerializer.class)
    private Long id;

    /** 发票号码 */
    @Excel(name = "发票号码")
    private String fphm;

    /** 发票代码 */
    @Excel(name = "发票代码")
    private String fpdm;

    /** 购方名称 */
    @Excel(name = "购方名称")
    private String gfmc;

    /** 附件名称 */
    private String fjmc;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setFphm(String fphm) 
    {
        this.fphm = fphm;
    }

    public String getFphm() 
    {
        return fphm;
    }
    public void setFpdm(String fpdm) 
    {
        this.fpdm = fpdm;
    }

    public String getFpdm() 
    {
        return fpdm;
    }
    public void setGfmc(String gfmc) 
    {
        this.gfmc = gfmc;
    }

    public String getGfmc() 
    {
        return gfmc;
    }
    public void setFjmc(String fjmc) 
    {
        this.fjmc = fjmc;
    }

    public String getFjmc() 
    {
        return fjmc;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("fphm", getFphm())
            .append("fpdm", getFpdm())
            .append("gfmc", getGfmc())
            .append("fjmc", getFjmc())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .toString();
    }
}
